﻿using System;
using System.Data;
using System.Configuration;
using System.ComponentModel;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Data.DataSources {
	public class ContractConditionCodeDataSource : Data.DataSources.ContractCondition_BaseDataSource {
		public override string SelectViewName { get { return ""; } }
		public override DataView SelectEx() { return GetTable(""); }
		public override DataView SelectEx(string ContractConditionCode) { return GetTable(ContractConditionCode); }
		private DataView GetTable(string ContractConditionCode) {
			DataTable dt = new DataSet().Tables.Add();
			dt.Columns.Add("ContractConditionCode");
			dt.Rows.Add(ContractConditionCode);
			return dt.DefaultView;
		}
	}
}